package com.diy.sigmund.diycommon.designpatterns.proxy.cglib;

/**
 * @author ylm-sigmund
 * @since 2022/6/21 22:44
 */
public class ProxyCglibTest {

    public static void main(String[] args) {
        ProxyCglib proxy = new ProxyCglib();
        //通过生成子类的方式创建代理类
        SayHello proxyImp = (SayHello) proxy.getProxy(SayHello.class);
        proxyImp.say();
    }

}
